package sd.qd.xiaoming.coffeedesk.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import sd.qd.xiaoming.coffeedesk.dao.CdDictDAO;
import sd.qd.xiaoming.coffeedesk.entity.CdDict;

@Transactional
@Service
public class CdDictService extends BaseService<CdDictDAO, CdDict> {

	@Autowired
	private CdDictDAO dao;

    public CdDict findByCode(
final String code) {
        return this.dao.findByCode(code);
    }

}
